/*
 *Copyright (c) 2012 Mango Persistence Model
 */
package ext.mango.ab.eo;

import mango.orm.entity.Entity;
import mango.orm.entity.Table;
import mango.orm.entity.Column;
import mango.orm.OrmTypes;
import java.sql.Types;

/**
 * ABHouseKeeperSpendType
 * @serial 1342626862426
 */
@Table("ABHOUSEKEEPERSPENDTYPE")
public class EOABHouseKeeperSpendType extends Entity {
    private static final long serialVersionUID = -134262686242645215L;

    /**
     * Name    : spendType
     * Code    : spendType
     * Comment : 
     **/
    @Column(column="SPENDTYPE", primary=true, type=Types.VARCHAR)
    public String getSpendType() {
        return OrmTypes.convert(String.class, this.get("SPENDTYPE"));
    }

    public EOABHouseKeeperSpendType setSpendType(String spendType) {
        this.set("SPENDTYPE", spendType);
        return this;
    }

    /**
     * Name    : name
     * Code    : name
     * Comment : 
     **/
    @Column(column="NAME", primary=true, type=Types.VARCHAR)
    public String getName() {
        return OrmTypes.convert(String.class, this.get("NAME"));
    }

    public EOABHouseKeeperSpendType setName(String name) {
        this.set("NAME", name);
        return this;
    }

    /**
     * Name    : operator
     * Code    : operator
     * Comment : 
     **/
    @Column(column="OPERATOR", primary=true, type=Types.VARCHAR)
    public String getOperator() {
        return OrmTypes.convert(String.class, this.get("OPERATOR"));
    }

    public EOABHouseKeeperSpendType setOperator(String operator) {
        this.set("OPERATOR", operator);
        return this;
    }

}
